package o;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.MenuItem;
import android.view.SubMenu;
import android.view.View;
import androidx.annotation.RestrictTo;
import androidx.annotation.RestrictTo.d;

@RestrictTo({d.LIBRARY_GROUP})
class bs extends bp implements SubMenu {
    bs(Context context, gj gjVar) {
        super(context, gjVar);
    }

    public gj ˋ() {
        return (gj) this.ˎ;
    }

    public SubMenu setHeaderTitle(int i) {
        ˋ().setHeaderTitle(i);
        return this;
    }

    public SubMenu setHeaderTitle(CharSequence charSequence) {
        ˋ().setHeaderTitle(charSequence);
        return this;
    }

    public SubMenu setHeaderIcon(int i) {
        ˋ().setHeaderIcon(i);
        return this;
    }

    public SubMenu setHeaderIcon(Drawable drawable) {
        ˋ().setHeaderIcon(drawable);
        return this;
    }

    public SubMenu setHeaderView(View view) {
        ˋ().setHeaderView(view);
        return this;
    }

    public void clearHeader() {
        ˋ().clearHeader();
    }

    public SubMenu setIcon(int i) {
        ˋ().setIcon(i);
        return this;
    }

    public SubMenu setIcon(Drawable drawable) {
        ˋ().setIcon(drawable);
        return this;
    }

    public MenuItem getItem() {
        return ˎ(ˋ().getItem());
    }
}
